<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition  xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./../template/userTemplate.xhtml"
                xmlns:h="http://java.sun.com/jsf/html">

    <ui:define name="content1">
        <h:form>
            <div class="form-group">
                <div class="col-2">Old password</div>
                <div class="input-group ">
                    <span class="input-group-addon">@</span>
                    <!--<input type="text" class="form-control" placeholder="Full name" />-->
                    <h:inputSecret value="#{changePassBean.oldpass}" styleClass="form-control"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-2">New password</div>
                <div class="input-group ">
                    <span class="input-group-addon">@</span>
                    <!--<input type="text" class="form-control" placeholder="Full name" />-->
                    <h:inputSecret value="#{changePassBean.newpass}" styleClass="form-control"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-2">Confirm new password</div>
                <div class="input-group ">
                    <span class="input-group-addon">@</span>
                    <!--<input type="text" class="form-control" placeholder="Full name" />-->
                    <h:inputSecret value="#{changePassBean.confirmpass}" styleClass="form-control">

                    </h:inputSecret>
                </div>
            </div>
            <h:commandButton value="Update" action="#{changePassBean.doChangePass}" styleClass="btn btn-default" />
           
        </h:form>

    </ui:define>

</ui:composition>
